import { ElMessage } from 'element-plus'

export function msgOpen(message,type="warning"){
    ElMessage({
        message,
        type,
        duration:2000,
    })
}